﻿using System.Data.Entity.ModelConfiguration;
using Core.Model;

namespace Infrastructure.Configurations
{
    public class ItemConfiguration : EntityTypeConfiguration<Item>
    {
        public ItemConfiguration()
        {
            HasKey(i => i.ItemId);
            HasRequired(i => i.Product);
        }
    }
}